package com.example.demo.service;

import com.example.demo.domain.Class;
import com.example.demo.domain.Grade;

import java.util.List;

public interface ClassService {

    boolean delete(Integer cid,Integer id) ;


    /**
     * 班级列表
     * @param pageNum
     * @param pageSize
     * @return
     */
     List<Class> findAll(Integer pageNum, Integer pageSize) ;

     Integer findTotalRecord() ;

     boolean add(Class classes);




    Class findClassByCid(Integer cid,Integer id);

    void update(Class classes);


}
